package com.woniu.cms.goods.core.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.woniu.cms.goods.core.entity.GoodsSupplier;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.common.api.Result;

/**
 * <p>
 * 物资供应商表 服务类
 * </p>
 *
 * @author romantic sheep
 * @since 2022-09-17
 */
public interface IGoodsSupplierService extends IService<GoodsSupplier> {

    Result getlist(Integer currentPage, Integer pageSize, String supplierName,Integer status);

    Result addSupplier(GoodsSupplier goodsSupplier) throws JsonProcessingException;

    Result deleteSupplier(Integer id);

    Result updateSupplier(GoodsSupplier goodsSupplier);
}
